$title-background: rgb(222,243,255);

$menuBg:#000;
$menuHover:#000;
$allMenuBgColor:#000;

$header-height: 50px;
$theme-color: #d6000f;
$text-color2: #666666;

 //to reset element-ui default css
.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

 ::-webkit-scrollbar {
   width: 15px !important;
   height: 15px !important;
 }

 .el-input.is-disabled .el-input__inner {
   background-color: #e4e7ed;
   border-color: #e4e7ed;
   color: #4a4a4a;
   cursor: not-allowed;
 }

.el-textarea.is-disabled .el-textarea__inner {
  background-color: #f5f7fa;
  border-color: #e4e7ed;
  color: #4a4a4a;
  cursor: not-allowed;
}

 // button default




// button primary
 .el-button--primary {
   color: #FFF;
   background-color: rgb(204,0,12);
   border-color: rgb(204,0,12)
 }

 .el-button--primary:focus,
 .el-button--primary:hover {
   background: #d96a59;
   border-color: #d96a59;
   color: #FFF
 }

 .el-button--primary.is-active,
 .el-button--primary:active {
   background: #bb3e2a;
   border-color: #bb3e2a;
   color: #FFF
 }

 .el-button--primary:active {
   outline: 0
 }

 .el-button--primary.is-disabled,
 .el-button--primary.is-disabled:active,
 .el-button--primary.is-disabled:focus,
 .el-button--primary.is-disabled:hover {
   color: #FFF;
   background-color: #e8a297;
   border-color: #e8a297
 }

 .el-button--primary.is-plain {
   color: #D0452F;
   background: #faecea;
   border-color: #ecb5ac
 }

 .el-button--primary.is-plain:focus,
 .el-button--primary.is-plain:hover {
   background: #D0452F;
   border-color: #D0452F;
   color: #FFF
 }

 .el-button--primary.is-plain:active {
   background: #bb3e2a;
   border-color: #bb3e2a;
   color: #FFF;
   outline: 0
 }

 .el-button--primary.is-plain.is-disabled,
 .el-button--primary.is-plain.is-disabled:active,
 .el-button--primary.is-plain.is-disabled:focus,
 .el-button--primary.is-plain.is-disabled:hover {
   color: #e38f82;
   background-color: #faecea;
   border-color: #f6dad5
 }

 .el-dialog {
   position: absolute;
   top: 50%;
   left: 50%;
   margin: 0 !important;
   transform: translate(-50%, -50%);
   max-height: calc(100% - 30px);
   max-width: calc(100% - 30px);

   display:flex;

   flex-direction:column;
   >.el-dialog__body{
     overflow:auto;
   }
 }

 @media screen and (max-width: 780px) {
   .el-dialog{
     width: 100% !important;
   }
 }

 .el-dialog__header{
   padding: 8px 8px 8px;
   border-bottom: solid 1px #D0452F;
   //background-color: $title-background;
 }
 .el-dialog__body {
   padding: 10px;
 }

.dialog-footer {
  margin: 0px;
}

.el-dialog__footer {
  padding: 4px 20px;
  border-top: solid 1px #D0452F;
}

.el-dialog__title {
  font-size: 16px;
  line-height:23px;
}
.el-dialog__headerbtn{
  top:8px;
}
.el-collapse-item__arrow{
  margin-right:-5px;
  line-height:30px;
}
//.el-submenu__title{
  //background-color: rgb(245, 245, 245)!important;
//}
.el-table__body{
  //font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
  font-family: '宋体',Microsoft YaHei ,Helvetica Neue,Helvetica,Arial,sans-serif;
  //color: #444;
  color: #000;
}

.el-date-editor--daterange.el-input, .el-date-editor--daterange.el-input__inner, .el-date-editor--timerange.el-input, .el-date-editor--timerange.el-input__inner {
  width: 230px;
}



.el-form-item {
  .el-select {
    width: 100%;
  }
  .el-cascader{
    width: 100%;
  }
  .el-date-editor {
    width: 100%;
  }
}
.magnifier {
  float: right;
  position: absolute;
  right: 50px;
  top: 14px;
  cursor: pointer;
}

.el-button--text {
  color: red;
}

.el-button--text:focus, .el-button--text:hover {
  color: rgb(157,0,6);
}
.el-table .caret-wrapper {
  height: 22px;
}
.el-table .sort-caret.ascending {
  top: 0px;
}
.el-table .sort-caret.descending {
  bottom: 1px;
}

.el-collapse-item__content {
  padding-bottom: 0px;
}

$table-title-color: #EBEBEB;
$table-title-split-color: #DBDFE5;
$text-color1: #333333;



/*.el-table--striped .el-table__body tr.el-table__row--striped td {
  background: #F3F3F3;
}*/

.el-table--enable-row-hover .el-table__body tr:hover > td {
  background-color: rgba(99,100,102,0.5);
}

.el-table--striped .el-table__body tr.el-table__row--striped.current-row td, .el-table__body tr.current-row > td, .el-table__body tr.hover-row.current-row > td, .el-table__body tr.hover-row.el-table__row--striped.current-row > td, .el-table__body tr.hover-row.el-table__row--striped > td, .el-table__body tr.hover-row > td {
  background-color: rgba(99,100,102,0.5);
}

.el-table--enable-row-transition .el-table__body td {
  -webkit-transition: background-color .25s ease;
  transition: background-color .25s ease
}

.el-input-number--mini {
  width: 100%;
  line-height: 26px;
}

.del_line::after {
  content: no-open-quote;
  position: absolute;
  top: 51%;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgb(204,0,12);
}

.el-range-editor.el-input__inner {
  padding: 4px 10px;
}

.el-switch {
  padding: 14px 0;
}
